<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the id=main div and all content
 * after. Calls sidebar-footer.php for bottom widgets.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */
?>
	</div><!-- #main -->

	<div id="footer" role="contentinfo">
		<div id="colophon">

<?php
	/* A sidebar in the footer? Yep. You can can customize
	 * your footer with four columns of widgets.
	 */
	get_sidebar( 'footer' );
?>
			
			
		</div><!-- #colophon -->
		<nav id="footer-menu" role="navigation">
			<ul id="menu-bottom-menu" class="menu">
				<?php wp_nav_menu( array( 'menu' => 'Bottom Menu', 'items_wrap' => '%3$s', 'container' => '') ); ?>
				<li class="menu-item menu-item-type-post_type menu-item-object-page social-icon">
					<a href="<?php echo eto_get_option('eto_facebook_profile_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/facebook.png" alt=""/></a>
				</li>
				<li class="menu-item menu-item-type-post_type menu-item-object-page social-icon">
					<a href="<?php echo eto_get_option('eto_twitter_profile_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/twitter.png" alt=""/></a>
				</li>
			</ul>
		</nav>
	</div><!-- #footer -->

</div><!-- #wrapper -->

<?php
	/* Always have wp_footer() just before the closing </body>
	 * tag of your theme, or you will break many plugins, which
	 * generally use this hook to reference JavaScript files.
	 */

	wp_footer();
?>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-36942878-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</body>
</html>